package com.mspbots.ticketai.model;

import com.fasterxml.jackson.databind.JsonNode;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * com.mspbots.core.ticket.TenantTicket
 *
 * @author Alex bob(https://github.com/vnobo)
 * @date Created by 2019/8/8
 */
@Data
public class Ticket {

    private Long id;
    private Long cwId;
    private Integer tenantId;
    private Integer boardId;
    private Integer statusId;
    private Integer priorityId;
    private Integer companyId;
    private Integer contactId;
    private String status;
    private String summary;
    private String resources;

    private LocalDateTime createdTime;
    private LocalDateTime updatedTime;

    private Double billAmount;
    private String contactTitle;
    private String priorityName;
    private String companyName;
    private String contactName;
    private JsonNode auditor;
    private JsonNode extend;
    private JsonNode teamRoles;
    private Long companyStatusId;
    private String companyStatusName;
    private Long owner;
    private Long identifierCwId;

    private String recordType;
    private String subBillingMethod;
    private String locationName;
    private String updatedBy;

    private transient String identifier;
    private transient int order;
    private transient JsonNode orderDetail;


    private List<TicketSchedule> ticketScheduleList;
    private List<TicketSchedule> assignedScheduleList;

    private List<String> memberSkillNames;
    private List<String> memberTeamNames;

    private List<TenantCompanyWatch> companyWatchList;
    private String boardName;
    private Integer dataTotal;
    private String contactPhoneNumber;
    private String contactEmailAddress;
    private Boolean isShowMRR;

}
